import { defineConfig } from 'umi'

import routes from './routes'

export default defineConfig({
    hash: true,
    antd: { mobile: false },
    dva: {
      immer: true,
      hmr: false
    },
    nodeModulesTransform: {
        type: 'none',
        exclude: []
    },
    dynamicImport: {
       loading: '@/components/common/PageLoading'
    },
    routes,
    mfsu: {},
    webpack5: {}
})